package DP.proxy.game.player.impl;

import DP.proxy.game.player.IGamePlayer;

/**
 * @author msi
 * 代练者
 */
public class GamePlayerProxy implements IGamePlayer {

    private IGamePlayer gamePlayer=null;

    public GamePlayerProxy(IGamePlayer iGamePlayer){
        this.gamePlayer=iGamePlayer;
    }

    @Override
    public void login(String user, String password) {
        this.gamePlayer.login(user,password);
    }

    @Override
    public void killBoss() {
        this.gamePlayer.killBoss();
    }

    @Override
    public void upgrade() {
        this.gamePlayer.upgrade();
    }
}
